<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gsname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gsname" data-rule="required" class="form-control" name="row[gsname]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact" data-rule="required" class="form-control" name="row[contact]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contacttel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contacttel" data-rule="required" class="form-control" name="row[contacttel]" type="text" value="">
        </div>
    </div>

    <div class="form-group select-spec">
        <label class="control-label col-xs-12 col-sm-2 select-spec">{:__('Htstart')}:</label>
        <div class="col-xs-4 col-sm-2 select-spec">
            <input id="c-htstart" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM" data-use-current="true" name="row[htstart]" style="font-size: 20px;" type="text" value="{:date('Y-m')}">
        </div>
        <label class="control-label col-xs-12 col-sm-2 select-spec">至</label>
        <div class="col-xs-4 col-sm-2 select-spec">
            <input id="c-htend" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM" data-use-current="true" name="row[htend]" style="font-size: 20px;" type="text" value="{:date('Y-m', strtotime('+11 month', time()))}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Htbh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-htbh"  data-rule="required" class="form-control" name="row[htbh]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Htje')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-htje" data-rule="required" class="form-control" name="row[htje]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zcyq')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zcyq" class="form-control" name="row[zcyq]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gssh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gssh"  class="form-control" name="row[gssh]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Khh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-khh"  class="form-control" name="row[khh]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhanghao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhanghao"  class="form-control" name="row[zhanghao]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shuiz')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-shuiz" class="form-control selectpicker" name="row[shuiz]">
                {foreach name="shuizList" item="vo"}
                    <option value="{$key}" {in name="key" value="小规模"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Faren')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-faren"  class="form-control" name="row[faren]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Farentel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-farentel"  class="form-control" name="row[farentel]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Farenidc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-farenidc"  class="form-control" name="row[farenidc]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kpyw')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-kpyw" class="form-control selectpicker" name="row[kpyw]">
                {foreach name="kpywList" item="vo"}
                    <option value="{$key}" {in name="key" value="否"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kpinfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kpinfo"  class="form-control" name="row[kpinfo]" type="text" value="">
        </div>
    </div>
    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Jbry')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-jbry" class="form-control" name="row[jbry]" type="text" value="">-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">经办人账号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-admin_id" data-rule="required" data-source="auth/admin/selectpage2" data-field="nickname" class="form-control selectpage" name="row[admin_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remarks1" class="form-control" name="row[remarks1]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remarks2"  class="form-control" name="row[remarks2]" type="text" value="">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
